<%@page import="sdfi.lee.DAO.EnterpriseDAO"%>
<%@page import="sdfi.lee.Entity.Enterprise"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" href="../css/index.css" />
<link rel="stylesheet" href="../css/level.css" />
<script type="text/javascript" src="../js/jquery-1.6.js"></script>
<script type="text/javascript" src="../js/index.js"></script>
<title>国家新药创制平台（山东）—通知公告</title>
</head>
<body>
<%
	EnterpriseDAO edao=new EnterpriseDAO();
	Enterprise ep=edao.getEnterpriseById(Integer.valueOf(request.getParameter("eid")));
	java.util.List<Enterprise> list=edao.getAllEnterprise(Integer.valueOf(request.getParameter("etype")),Integer.valueOf(request.getParameter("pg")).intValue()+1,5);
	request.setAttribute("ep",ep);
	request.setAttribute("list",list);
%>
<c:url value='/enterprise/eplist.jsp?etype=${param.etype}&pg=1' var="nurl" ></c:url>
<div class="divhead">当前位置：<a href="<c:url value='/index.jsp'/>" >首页</a>&nbsp;&gt;
<a href="${nurl}">
<c:if test="${param.etype==1}">骨干企业</c:if>
<c:if test="${param.etype==2}">参建单位</c:if>
<c:if test="${param.etype==3}">区内企业</c:if>
<c:if test="${param.etype==4}">国家大平台</c:if>
</a>
</div>
<div id="divshowcontain">
<div id="divleft">
		<div class="div_content_title">${requestScope.ep.epname}</div>
		<div class="div_content_fenge2"></div>
			<div class="div_detail">
				${requestScope.ep.epdescribe}
			</div>
			<%
				if(ep.getDrugs()!=null&&ep.getDrugs().size()>0)
			{
					request.setAttribute("drugs",ep.getDrugs());
			%>
		
		<div class="show_head">产品列表：</div>
		<div style="padding-left:30px;">
			<c:forEach items="${requestScope.drugs}" var="drug">
				<c:url value="/renwuqiye/drugdetail.jsp" var="durl">
					<c:param name="did" value="${drug.id}"></c:param>
				</c:url>
				<div class="druglist"><a href="${durl}">${drug.drugname}</a></div>
			
			</c:forEach>
		</div>
        <%
			}
		%>
			 <div style="clear:left;"></div>
</div>
<div id="divmid"></div>
<div id="divright">
	<c:forEach items="${requestScope.list}" var="ep">
		<div class="newsitem">
			<div class="newstitle"><a href="<c:url value='/enterprise/epdetail.jsp?etype=${param.etype}&eid=${ep.id}&pg=${param.pg+1}'/>">${ep.epname}</a></div>
			<div class="newsdate">&nbsp;</div>
		</div>
	</c:forEach>

</div>
<div style="clear:left"></div>
</div>
</body>

</html>